<!DOCTYPE HTML>
<html>
	<head>
		<meta charset="utf-8">
		<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
		<meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no, user-scalable=no">
		<script>
			var designW = 750,
				designH = 1346;
			var windowW = window.innerWidth,
				windowH = window.innerHeight;
			var scaleX = windowW / designW,
				scaleY = windowH / designH;
			var scale = Math.min(scaleX, scaleY);
			// var htmlEle = document.querySelector('html');
			// htmlEle.style.transform = 'scale(' + scale + ')';
			var metaTags = document.getElementsByTagName('meta');
			for (var i = 0; i < metaTags.length; i++) {
				// 判断当前元素是否为 viewport 相关的 meta 标签
				if (metaTags[i].getAttribute("name") === "viewport") {
					// 设置新的 initial-scale 值
					metaTags[i].setAttribute(
						"content",
						"width=device-width, shrink-to-fit=no, user-scalable=no, initial-scale=" + scale
					);
					break; // 只需修改第一个符合条件的 meta 标签，因此跳出循环
				}
			}
		</script>
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<meta name="renderer" content="webkit">
		<title>联通大流量卡申领</title>
		<meta name="description" content="联通大流量卡申领" />
		<meta name="keywords" content="" />
		<style scoped>
			body {
				margin: 0;
				background: #fff;
				display: flex;
				flex-direction: column;
				align-items: center;
			}

			.mainBox {
				width: 100%;
				max-width: 750px;
				display: flex;
				flex-direction: column;
				align-items: center;
			}


			.mainBox .topBox {
				margin-top: 72px;
			}

			.mainBox .topBox .topTxt {
				margin-top: 24px;
				font-weight: bold;
				font-size: 36px;
				color: #202020;
				text-align: center;

			}

			.mainBox .infoBox {
				margin-top: 44px;
				padding: 36px 30px;
				width: 600px;
				background: #FFF9F3;
				border-radius: 16px;
				display: flex;
				flex-direction: column;
			}

			.mainBox .infoBox .infoRow1 {
				padding: 0 4px;
				display: flex;
				flex-direction: row;
				align-items: center;
				font-weight: 400;
				font-size: 30px;
				color: #A16527;
			}

			.mainBox .infoBox .infoRow1>span:nth-child(2) {
				text-decoration: underline;
			}

			.mainBox .infoBox .infoRow1>span:nth-child(3) {
				color: #3F82D5;
				font-weight: 500;
				padding: 2px 10px;
			}

			.mainBox .infoBox .infoRow2 {
				margin-top: 14px;
				padding: 0 4px;
				font-weight: 400;
				font-size: 24px;
				color: #F92D18;
			}

			.mainBox .infoBox .infoLine {
				margin: 24px;
				width: 598px;
				height: 2px;
				background: #E8E8E8;
			}

			.mainBox .infoBox .infoRow3 {
				padding: 0 4px;
				font-weight: 400;
				font-size: 28px;
				color: #1A1B30;
			}

			.mainBox .infoBox .infoRow4 {
				margin-top: 8px;
				padding: 0 4px;
				font-weight: 400;
				font-size: 24px;
				color: #4A5561;
			}

			.mainBox .stepBox {
				margin: 32px;
				width: calc(100% - 64px);
				height: max-content;
				background: #FFFFFF;
				border-radius: 24px;
				overflow: hidden;
				display: flex;
				flex-direction: column;
			}

			.mainBox .stepBox .stepTitle {
				padding: 0 12px;
				font-weight: bold;
				font-size: 28px;
				color: #202020;
			}

			.mainBox .stepBox .stepText {
				margin-top: 24px;
				margin-bottom: 24px;
				padding: 0 12px;
				font-weight: 400;
				font-size: 24px;
				color: #545458;
				line-height: 44px;
			}
		</style>
	</head>
	<body>
		<div class="mainBox">
			<div class="topBox">
				<img src="/5G/static/yishenqing.png" width="248px" alt="办理成功" />
				<div class="topTxt">申请成功</div>
			</div>
			<div class="infoBox">
				<div class="infoRow1">
					<span>您的号码为</span>
					<span>{$phone}</span>
					<span id="copyText" onclick="copyTextToClipboard('{$phone}')">复制</span>
				</div>
				<div class="infoRow2">需要您完成预检才会发货哟~</div>
				<div class="infoLine"></div>
				<div class="infoRow3">张小姐 18677489518</div>
				<div class="infoRow4">湖北省恩施土家族苗族自治州恩施市小渡船街道228号</div>
			</div>
			<div class="stepBox">
				<div class="stepTitle">请您按照以下步骤完成预检</div>
				<div class="stepText">1. 您在当前页面完成流量卡办理后，系统会发放一组号码给您，您需复制该号码，并识别下方二维码进入预检页面，按下图所示勾选1、2两处勾选按钮，然后点击“立即办理”按钮进入下一步页面。
				</div>
				<img src="/5G/static/step1.jpg" width="100%" alt="在线申领激活流程" />
				<div class="stepText">2. 您在下图页面填写/粘贴您上一步收到的号码，并按页面提示上传您的现场自拍照、身份证正反面照片、填写您的个人信息，点击“提交订单”按钮并支付完成办理。
				</div>
				<img src="/5G/static/step2.jpg" width="100%" alt="在线申领激活流程" />
			</div>
		</div>
		<script type="text/javascript">
			async function copyTextToClipboard(copyText) {
				try {
					await navigator.clipboard.writeText(copyText);
					console.log('Text copied to clipboard：', copyText);
					document.getElementById("copyText").innerText = '已复制';
				} catch (err) {
					console.error('Could not copy text: ', err);
				}
			}
		</script>

	</body>
</html>